Merged
Conversation
1ee8fa3 to
abd57c1
Compare
c19c10e to
2cadfa8
Compare
kdinev
requested changes
Feb 27, 2025
projects/igniteui-angular/src/lib/directives/button/button.directive.ts
Outdated
Show resolved
Hide resolved
projects/igniteui-angular/src/lib/directives/scroll-inertia/scroll_inertia.directive.spec.ts
Outdated
Show resolved
Hide resolved
bf8cc4d to
082924f
Compare
kdinev
previously approved these changes
Feb 27, 2025
added 20 commits
March 25, 2025 13:25
chore(*): updating node versions in workflows
damyanpetev
approved these changes
Mar 26, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix several memory leaks
Addressed issues:
.bind()in-place.createComponent()ViewContainerRef.createComponent()but then detached from it.Leak detection
Add leaks detection to the
configureTestSuite().If chrome is started with
--js-flags="--expose-gc"it will track all created fixtures and perform agc()at the end of the suite and it will report any leaked instances in memory.Also, it's performing the
moduleRef.destroy()for all created modules that was missing before.The leak detection is opt-in for every suite because there are many existing issues and it may also report false positives for example:
beforeEach()but it's not cleaned upafterEach()Not all leaks will be detected. For example a component retained by a root service, in the lifecycle of the test it will be disposed but in a real app lifecycle this should be considered a leak.
Additional information (check all that apply):
Checklist:
feature/README.MDupdates for the feature docsREADME.MDCHANGELOG.MDupdates for newly added functionalityng updatemigrations for the breaking changes (migrations guidelines)